/**
 * Created by gaojian on 15/9/7.
 */
var mysql = require('mysql');

var pool = mysql.createPool({
    host:'127.0.0.1',
    user:'root',
    password:'',
    database:'huxiu',
    port:3306
});
/*var pool = mysql.createConnection({
    host:'127.0.0.1',
    user:'root',
    password:'',
    database:'huxiu',
    port:3306
});

pool.connect();*/

module.exports = pool;